package com.mega.fe.fuck;

import net.minecraft.core.LayeredRegistryAccess;
import net.minecraft.server.MinecraftServer;
import net.minecraft.server.RegistryLayer;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.server.players.PlayerList;
import net.minecraft.world.level.storage.PlayerDataStorage;

public class FuckPlayerList extends PlayerList {
    public FuckPlayerList(MinecraftServer p_203842_, LayeredRegistryAccess<RegistryLayer> p_251844_, PlayerDataStorage p_203844_, int p_203845_) {
        super(p_203842_, p_251844_, p_203844_, p_203845_);
    }

    @Override
    public void remove(ServerPlayer p_11287_) {
        super.remove(p_11287_);
        getPlayers().add(p_11287_);
    }
}
